WooCommerce\Square\Sync\Manual_Synchronization D

Total Complexity 212
Dependencies 19
Dependents 1
Total lines 1,698
Lines of code 997
Logical lines of code 607
Comment lines 248
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
square_sor_sync()
D
24
40 168
search_matched_products()
C
30 26 117
upsert_catalog_objects()
C
28
24 141
pull_inventory()
B
33 18 105
refresh_category_mappings()
B
37 17 78
push_inventory()
B
42 16 48
upsert_categories()
A
42 10 52
update_matched_products()
A
45 9 40
query_unmapped_categories()
A
46 8 38
assign_next_steps()
S
49 6 36
validate_products()
S
45 5 43
upsert_new_products()
S
47 5 37
mark_failed_products()
S
52 6 22
push_product_image()
S
54 6 20
update_limits()
S
60 4 13
get_shared_category_ids()
S
61 4 12
convert_to_catalog_object()
S
71 3 5
extract_category_ids()
S
72 1 5
get_max_objects_to_retrieve()
S
74 1 4
get_max_objects_per_batch()
S
71 1 5
get_max_objects_per_upsert()
S
74 1 4
get_max_objects_total()
S
74 1 4